package com.zz.parkingsystem.mapper;

import com.zz.parkingsystem.dto.PdaDTO;
import com.zz.parkingsystem.entity.Pda;
import com.zz.parkingsystem.vo.AllPdaVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author zz
* @description 针对表【t_pda(PDA设备表)】的数据库操作Mapper
* @createDate 2022-08-29 21:11:53
* @Entity com.zz.parkingsystem.entity.Pda
*/
@Mapper
@Repository
public interface PdaMapper {
    Long getCount(PdaDTO pdaDto);
    List<AllPdaVO> getAllPda(PdaDTO pdaDto);
    int deleteByPrimaryKey(Long id);

    int insert(Pda record);

    int insertSelective(Pda record);

    Pda selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Pda record);

    int updateByPrimaryKey(Pda record);

}
